Skip to content

[Snyk] Security upgrade lodash from 4.17.21 to 4.18.1#176

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-24b1369998b95330fda34307949ec42e
Open

[Snyk] Security upgrade lodash from 4.17.21 to 4.18.1#176
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-24b1369998b95330fda34307949ec42e

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Apr 2, 2026

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/visual-engine/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Arbitrary Code Injection
SNYK-JS-LODASH-15869625
  243  
medium severity Prototype Pollution
SNYK-JS-LODASH-15869619
  117  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution
🦉 Arbitrary Code Injection

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 2, 2026

Merge Risk: Medium

This minor upgrade of lodash introduces security fixes that alter the behavior of several functions, which could impact existing code.

Key Changes:

  • _.unset / _.omit: A fix for a prototype pollution vulnerability (GHSA-f23m-r3pf-42rh) changes the return value. Calls that attempt to traverse constructor or prototype will now return false and not delete the property, whereas they might have returned true previously.
  • _.template: A fix for a code injection vulnerability (GHSA-r5fr-rjxr-66jc) adds stricter validation. An error will now be thrown if the imports option contains invalid characters.

Risk Assessment:
These changes, while important for security, are behavioral modifications. Applications that rely on the previous (and unsafe) behavior of these functions may require verification to ensure they operate as expected.

Recommendation: Review and test any usage of _.unset, _.omit, and _.template to ensure compatibility with the new, more secure behavior.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants